package game.camera;

import java.io.Serializable;

import application.Configuration;

public class Camera implements Serializable
{
	public static int getPositionX(int posX, int camX){
		return (posX - camX + (Configuration.WINDOW_WIDTH / 2));
	}
	
	public static int getPositionY(int posY, int camY){
		return (posY - camY + (Configuration.WINDOW_HEIGHT / 2));
	}
}
